package com.village.service;

import com.village.dao.entity.VillageUser;
import com.village.dao.mapper.VillageUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VillageUserService {
    @Autowired
    private VillageUserMapper villageUserMapper;

    public List<VillageUser> findAll() {
        return villageUserMapper.findAll();
    }
}
